<template>
  <div>
    <el-button type="primary" class="taskStyle" @click="jumpTaskListAction"> 跳转需求列表 </el-button>
    <el-button type="primary" plain class="commitStyle" @click="jumpCommitListAction"> 跳转提交记录列表 </el-button>
    <el-button type="primary" class="homeStyle" @click="jumpToHomepage"> 跳转到首页 </el-button>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {}
  },
  created() {},
  mounted() {},
  destroyed() {},
  methods: {
    // 跳转需求列表
    jumpTaskListAction() {
      this.$router.push('/taskList')
    },
    // 跳转提交记录列表
    jumpCommitListAction() {
      this.$router.push('/commitList')
    },

    // 跳转到主页
    jumpToHomepage() {
      this.$router.push('/homepage')
    }

  }
}
</script>

<style lang="scss" scoped>
.taskStyle {
  margin-top: 20px;
  margin-left: 50px;
}

.commitStyle {
  margin-left: 50px;
}

.homeStyle {
  margin-left: 50px;
}

</style>
